import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set from '@dfeidao/atom-web/local/set';
export default async function a002(fd: IFeidaoAiBrowserComponent, args: { target: HTMLElement }) {
	// 编辑
	set(fd, 'number', 2);
	const clicknode = args.target;
	event.stopPropagation();
	const level_no = clicknode.getAttribute('level_no');
	const level_name = clicknode.getAttribute('level_name');
	const update = fd.data.node.querySelector<HTMLDivElement>('[uodateinput]');
	update.classList.remove('display-n');
	const update1 = fd.data.node.querySelector<HTMLInputElement>('[uodateinput1]');
	update1.value = level_name;
	update1.focus();
	set(fd, 'level_no', level_no);

}
